﻿using DFGK_WMS.Model.Dto;
using DFGK_WMS.Model.Dto.YS;
using DFGK_WMS.Model.Models;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK.IService
{
    public interface IMaterialPackageReceivingService
    {

        List<MaterialPackageReceiving> GetMaterialPackageReceivingData(string? ordersn,string? materialkey, string? WorkShopName, out int totalCount, int? status = 0, int pageIndex = 1, int pageSize = 15);
        bool DelMaterialPackageReceiving(long Id);
        MaterialPackageReceiving? MaterialPackageReceivingById(long Id);
        bool UpdateMaterialPackageReceiving(MaterialPackageReceiving u);
        bool AddProductionOrder(ERPProductionOrderDto model,out string errorMsg);
        bool AddOrModefiyMaterialPackageReceiving(ERPReceivingBillDTO model, out string errorMsg);

        MaterialPackageReceiving? GetMaterialPackageReceiving(long Id);
    }
}
